package com.ruoyi.chat.domain;

public class ResultEntity<T> {

    private T data;
    private boolean status = true;
    private String errMsg = "";

    public ResultEntity(T data) {
        this.data = data;
    }

    public ResultEntity() {
    }


    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}

